import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import TypeNav from './components/TypeNav'

import './mock/mockServe.js'

Vue.config.productionTip = false

// 注册全局组件
Vue.component(TypeNav.name,TypeNav)

new Vue({
  render: h => h(App),
  store, // 必须小写，大小会报错 和vue实例对象进行关联
  router  // 注册路由模块或安装路由模块
}).$mount('#app')
